package com.fa4j.common.feign.decoder;

import lombok.Data;

@Data
public class FeignResponseException extends RuntimeException {

    private final Integer errCode;
    private final String errMsg;

    public FeignResponseException(String message, Integer errCode, String errMsg) {
        super(message);
        this.errCode = errCode;
        this.errMsg = errMsg;
    }
}
